<?php

namespace App\Models;

use App\Library\Models\Entity;
use Illuminate\Database\Eloquent\SoftDeletes;

class DemoModel extends Entity
{
    use SoftDeletes;

    protected $table = 'demo';
    
    protected $casts = ['a_json' => 'json'];

    protected $fillable = [
        'id',
        'a_boolean',
        'a_boolean1',
        'a_tinyint',
        'a_smallint',
        'a_mediumint',
        'a_int',
        'a_bigint',
        'a_decimal',
        'a_date',
        'a_char',
        'a_varchar',
        'content',
        'a_json',
        'a_timestamp',
        'created_at',
        'updated_at',
        'deleted_at'
    ];
}
